import request from '@/plugin/axios'

// 审核流 每一个都有初审和复审


export default {

    //  冻结
    frozenFirst(data) {
        return request({
            url: 'tradeOrderFrozen/handleFirstReview',
            headers: {},
            method: 'post',
            data,
        });
    },

    frozenSecond(data) {
        return request({
            url: 'tradeOrderFrozen/handleSecondReview',
            headers: {},
            method: 'post',
            data,
        });
    },

    // 拒付

    disFirst(data) {
        return request({
            url: 'tradeOrderDis/handleFirstReview',
            headers: {},
            method: 'post',
            data,
        });
    },

    disSecond(data) {
        return request({
            url: 'tradeOrderDis/handleSecondReview',
            headers: {},
            method: 'post',
            data,
        });
    },

    // 解冻

    thawFirst(data) {
        return request({
            url: 'tradeOrderThaw/handleFirstReview',
            headers: {},
            method: 'post',
            data,
        });
    },

    thawSecond(data) {
        return request({
            url: 'tradeOrderThaw/handleSecondReview',
            headers: {},
            method: 'post',
            data,
        });
    },

    // 退款

    refunFirst(data) {
        return request({
            url: 'tradeOrderRefund/handleFirstReview',
            headers: {},
            method: 'post',
            data,
        });
    },

    refunSecond(data) {
        return request({
            url: 'tradeOrderRefund/handleSecondReview',
            headers: {},
            method: 'post',
            data,
        });
    },

    //补单

    successFirst(data) {
        return request({
            url: 'tradeOrderForceSuccess/handleFirstReview',
            headers: {},
            method: 'post',
            data,
        });
    },

    successSecond(data) {
        return request({
            url: 'tradeOrderForceSuccess/handleSecondReview',
            headers: {},
            method: 'post',
            data,
        });
    },

};